package com.gt.web.srv.web.api.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 社区;
 *
 * @author Yu Chaohua
 * @date 2024-5-22
 */
@ApiModel(value = "社区", description = "")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CommunityReqCommand implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "社区ID")
    private Long communityId;

    @ApiModelProperty(notes = "社区名称")
    private String communityName;

    @ApiModelProperty(notes = "辖区类型")
    private Integer communityType;

    @ApiModelProperty(notes = "居委名称")
    private String committeeName;

    @ApiModelProperty(notes = "状态（0正常 1停用）")
    private Integer status;

    @ApiModelProperty(notes = "社区ID集合")
    private List<Long> communityIdList;

}